package com.client.service;

import com.client.pojo.Comments;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
/**
 * <p>
 * 评论系统表 服务类
 * </p>
 *
 * @author ckick
 * @since 2025-09-20 08:28:54
 */
public interface CommentsService extends IService<Comments> {
    //根据词条id获取父级评论和对应的用户信息,同时实现分页
    List<Comments> getCommentsByEntryId(Integer entryId, Integer offset, Integer limit);
    //根据评论id获取子评论列表
    List<Comments> getChildrenByCommentId(Integer commentId, Integer offset, Integer limit);
}
